package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc ExcelHeaderFieldDataDto
 * @使用场景
 */
@Data
public class ExcelHeaderFieldDataDto extends BaseDto implements Serializable {

  /**
   * excel表头英文字段
   */
  @ApiModelProperty("excel表头英文字段")
  private String excelHeaderEnFields;

  /**
   * excel表头中文字段
   */
  @ApiModelProperty("excel表头中文字段")
  private String excelHeaderCnFields;

  /**
   * excel表头字段排序
   */
  @ApiModelProperty("excel表头字段排序")
  private Long excelHeaderFieldSorting;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      ExcelHeaderFieldDataDto that = (ExcelHeaderFieldDataDto) o;
      return  excelHeaderEnFields == that.excelHeaderEnFields&&excelHeaderCnFields == that.excelHeaderCnFields&&excelHeaderFieldSorting == that.excelHeaderFieldSorting;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), excelHeaderEnFields,excelHeaderCnFields,excelHeaderFieldSorting);
    }

}
